//
//  KZtabbarTitle.h
//  开源中国
//
//  Created by kun on 15/10/4.
//  Copyright (c) 2015年 kun. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Masonry.h"

@interface KZBarTitle : UIScrollView
#warning 这里突然有个想法 其实变量后面直接跟对象名字这种 比较适合xib 这种情况

@property (nonatomic,copy)NSMutableArray *titleButtons;
@property (nonatomic,strong)void (^tabbarTitleChange)(UIButton *button,NSInteger index);

-(void)changeButtonWithIndex:(NSInteger )index;
//+(instancetype)tabbarTitleWith:(NSArray *)titles;
-(instancetype)initWithFrame:(CGRect)frame andTitles:(NSArray *)titles;



@end
